﻿namespace Peter.Sdw.Data
{
   /// <summary>
   /// Constants for SDW
   /// </summary>
   public static class Constants
   {
      /// <summary>
      /// The url used to edit light.
      /// </summary>
      public const string URL_EDIT_LIGHT = "Light/Edit";

      /// <summary>
      /// The url used to add light.
      /// </summary>
      public const string URL_CREATE_LIGHT = "Light/Create";

      /// <summary>
      /// This will return a list of light in JSON format.
      /// You must use string.Format and set the first parameter to the start index and the second to the filter.
      /// </summary>
      public const string URL_GET_LIGHT = "Light/Get?start={0}&filter={1}";

      /// <summary>
      /// The url used to edit love.
      /// </summary>
      public const string URL_EDIT_LOVE = "Love/Edit";

      /// <summary>
      /// The url used to add love.
      /// </summary>
      public const string URL_CREATE_LOVE = "Love/Create";

      /// <summary>
      /// This will return a list of love in JSON format.
      /// You must use string.Format and set the first parameter to the id of the ligth you are getting love for.
      /// </summary>
      public const string URL_GET_LOVE = "Love/Get?lightId={0}";

      /// <summary>
      /// This will return a list of love types in JSON format.
      /// </summary>
      public const string URL_GET_LOVE_TYPES = "Love/GetTypes";

      /// <summary>
      /// The url used to edit love.
      /// </summary>
      public const string URL_EDIT_TRUTH = "Truth/Edit";

      /// <summary>
      /// The url used to add love.
      /// </summary>
      public const string URL_CREATE_TRUTH = "Truth/Create";

      /// <summary>
      /// This will return a list of truth in JSON format.
      /// You must use string.Format and set the first parameter to the id of the love you are getting truth for.
      /// </summary>
      public const string URL_GET_TRUTH = "Truth/Get?loveId={0}";





      /// <summary>
      /// The url used to edit a book.
      /// </summary>
      public const string URL_EDIT_BOOK = "Book/Edit";

      /// <summary>
      /// The url used to add a book.
      /// </summary>
      public const string URL_CREATE_BOOK = "Book/Create";

      /// <summary>
      /// The url to set the default version of a book.
      /// </summary>
      public const string URL_DEFULT_VERSION = "Book/DefaultVersion";

      /// <summary>
      /// The book list url.
      /// This will return a list of books in JSON format.
      /// You must use string.Format and set the first parameter to the start index and the second to the filter.
      /// </summary>
      public const string URL_BOOK_LIST = "Book/List?start={0}&filter={1}";

      /// <summary>
      /// The url used to edit a version.
      /// </summary>
      public const string URL_EDIT_VERSION = "Version/Edit";

      /// <summary>
      /// The url used to add/create sub books for a version.
      /// </summary>
      public const string URL_CREATE_SUB_BOOKS = "Version/CreateSubBooks";

      /// <summary>
      /// The url used to add a version.
      /// </summary>
      public const string URL_CREATE_VERSION = "Version/Create";
      
      /// <summary>
      /// The version list url.
      /// This will return a list of versions in JSON format.
      /// You must string.Format and set the first parameter to the id of the book you are retrieving versions for.
      /// </summary>
      public const string URL_VERSION_LIST = "Version/List?id={0}";

      /// <summary>
      /// The url used to edit a sub book.
      /// </summary>
      public const string URL_EDIT_SUB_BOOK = "SubBook/Edit";

      /// <summary>
      /// The sub book list url.
      /// This will return a list of sub books in JSON format.
      /// You must string.Format and set the first parameter to the id of the version you are retrieving sub books for.
      /// </summary>
      public const string URL_SUB_BOOK_LIST = "SubBook/List?id={0}";

      /// <summary>
      /// The url used to add/create chapters for a sub book.
      /// </summary>
      public const string URL_CREATE_CHAPTERS = "SubBook/CreateChapters";

      /// <summary>
      /// The url used to edit a chapter.
      /// </summary>
      public const string URL_EDIT_CHAPTER = "Chapter/Edit";

      /// <summary>
      /// The url used to edit a passage.
      /// </summary>
      public const string URL_EDIT_PASSAGE = "Passage/Edit";

      /// <summary>
      /// The chapter list url.
      /// This will return a list of chapters in JSON format.
      /// You must string.Format and set the first parameter to the id of the sub book you are retrieving chapters for.
      /// </summary>
      public const string URL_CHAPTER_LIST = "Chapter/List?id={0}";

      /// <summary>
      /// The url used to add a term.
      /// </summary>
      public const string URL_CREATE_TERM = "Term/Create";

      /// <summary>
      /// The url used to add/create passages for a sub book.
      /// </summary>
      public const string URL_CREATE_PASSAGES = "Passage/Create";

      /// <summary>
      /// The passage list url.
      /// This will return a list of passage in JSON format.
      /// You must string.Format and set the first parameter to the id of the chapter you are retrieving passages for.
      /// </summary>
      public const string URL_PASSAGE_LIST = "Passage/List?id={0}";

      /// <summary>
      /// The term list url.
      /// This will return a list of terms in JSON format.
      /// You must use string.Format and set the first parameter to the start index and the second to the filter.
      /// </summary>
      public const string URL_TERM_LIST = "Term/List?start={0}&filter={1}";

      /// <summary>
      /// The term item list url.
      /// This will return a list of items for a given term in JSON format.
      /// You must string.Format and set the first parameter to the id of the term you are retrieving items for.
      /// </summary>
      public const string URL_TERM_ITEM_LIST = "TermItem/List?id={0}";

      /// <summary>
      /// The url used to get header information.
      /// </summary>
      public const string URL_GET_HEADER = "{0}/GetHeader?id={1}";

      /// <summary>
      /// The url used to get footer information.
      /// </summary>
      public const string URL_GET_FOOTER = "{0}/GetFooter?id={1}";

      /// <summary>
      /// The url for creating a style.
      /// </summary>
      public const string URL_CREATE_STYLE = "Style/Create{0}{1}";

      /// <summary>
      /// The url for deleting a style.
      /// </summary>
      public const string URL_DELETE_STYLE = "Style/Delete{0}{1}";

      /// <summary>
      /// The url for editing a style.
      /// </summary>
      public const string URL_EDIT_STYLE = "Style/Update{0}{1}";

      /// <summary>
      /// The url for creating a link.
      /// </summary>
      public const string URL_CREATE_LINK = "Link/Create{0}{1}";

      /// <summary>
      /// The url for deleting a link.
      /// </summary>
      public const string URL_DELETE_LINK = "Link/Delete{0}{1}";

      /// <summary>
      /// The url for editing a link.
      /// </summary>
      public const string URL_EDIT_LINK = "Link/Update{0}{1}";

      /// <summary>
      /// The get a anti forgery token.
      /// This will return a partial view.
      /// </summary>
      public const string URL_GET_TOKEN = "Account/Token";

      /// <summary>
      /// The login url.
      /// This will return the login partial view.
      /// </summary>
      public const string URL_LOGIN_REQUEST = "Account/LoginRequest";

      /// <summary>
      /// Success response (success).
      /// </summary>
      public const string SUCCESS = "success";

      /// <summary>
      /// Failed response (fail).
      /// </summary>
      public const string FAIL = "fail";

      /// <summary>
      /// The name of the request token to add in posts.
      /// </summary>
      public const string REQUEST_TOKEN = "__RequestVerificationToken";

      /// <summary>
      /// Paragraph.
      /// </summary>
      public const string PARAGRAPH = "Paragraph";

      /// <summary>
      /// Verse.
      /// </summary>
      public const string VERSE = "Verse";

      /// <summary>
      /// Header.
      /// </summary>
      public const string HEADER = "Header";

      /// <summary>
      /// Header.
      /// </summary>
      public const string FOOTER = "Footer";
   }
}
